package com.xiaohai.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xiaohai.projo.Log;
import com.xiaohai.service.LogService;
import com.xiaohai.mapper.LogMapper;
import com.xiaohai.utils.ThreadLocalUtil;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 36343
 * @description 针对表【log】的数据库操作Service实现
 * @createDate 2024-02-24 11:02:49
 */
@Service
@Slf4j
public class LogServiceImpl extends ServiceImpl<LogMapper, Log>
        implements LogService {

    @Autowired
    private LogMapper logMapper;

    @Override
    public int insert(Log log1) {
        logMapper.insert(log1);
        return 0;
    }
}




